package com.sc3.game.shared;

import java.util.HashMap;

public class Planet {

	public int pos = 0;
	public HashMap<Construction.ConsType,Integer> mConsLevelMap;
	
	
	public int getSolarPos(){
		return (pos/10)%10;
	}
	public PlanetInfo mPlanetInfo;
	
	public Planet(){
		mPlanetInfo = new PlanetInfo();
		mConsLevelMap = new HashMap<Construction.ConsType,Integer>();
	}
	
	
	public  PlanetInfo getPlanetInfo(){
		return mPlanetInfo;
	}
	
	public enum PlanetType{
		Arid,
		Asteroid,
		Craters,
		Crystalline,
		Earthly,
		Gaia,
		Glacial,
		Magma,
		Metallic,
		Oceanic,
		Radioactive,
		Rocky,
		Toxic,
		Tundra,
		Volcanic
	}
	
	public class PlanetInfo{
		
		public int Metal;
		public int Gas;
		public int Crystal;
		public int Fertility;
		
		public PlanetInfo createPlanetInfo(PlanetType type, boolean isPlanet) {
			PlanetInfo info = new PlanetInfo();
			switch (type) {

			case Arid:
				break;
			case Asteroid:
				break;
			case Craters:
				break;
			case Crystalline:
				break;
			case Earthly:
				break;
			case Gaia:
				break;
			case Glacial:
				break;
			case Magma:
				break;
			case Metallic:
				break;
			case Oceanic:
				break;
			case Radioactive:
				break;
			case Rocky:
				break;
			case Toxic:
				break;
			case Tundra:
				break;
			case Volcanic:
				break;
			}

			return info;
		}
		
	}
}
